/* 歌手详情页样式 */
.artist-detail-page {
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* 返回按钮 */
.back-button {
  background: none;
  border: none;
  font-size: 16px;
  color: #333;
  cursor: pointer;
  padding: 10px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
}

.back-button:hover {
  color: #1890ff;
}

/* 歌手信息区域 */
.artist-info-section {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  padding: 20px;
  background: #f5f5f5;
  border-radius: 10px;
}

.artist-avatar-large {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.artist-avatar-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.artist-basic-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artist-name-large {
  font-size: 36px;
  font-weight: bold;
  margin: 0 0 15px 0;
  color: #333;
}

.artist-meta-info {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.artist-meta-info span {
  padding: 5px 15px;
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  color: #666;
  border: 1px solid #e0e0e0;
}

.artist-description {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  margin: 0;
  max-width: 800px;
}

/* 内容切换标签 */
.content-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 30px;
  border-bottom: 2px solid #e0e0e0;
}

.tab-button {
  padding: 12px 30px;
  background: none;
  border: none;
  font-size: 16px;
  color: #666;
  cursor: pointer;
  position: relative;
  transition: color 0.3s;
}

.tab-button:hover {
  color: #1890ff;
}

.tab-button.active {
  color: #1890ff;
  font-weight: 500;
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #1890ff;
}

/* 歌曲列表区域 */
.songs-section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: #333;
}

.songs-list {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.song-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.3s;
}

.song-item:hover {
  background-color: #fafafa;
}

.song-rank {
  width: 40px;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.song-cover {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  overflow: hidden;
  border-radius: 4px;
}

.song-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-info {
  flex: 1;
}

.song-title {
  font-size: 16px;
  color: #333;
  /* margin-bottom: 5px; */
}

.song-album {
  font-size: 14px;
  color: #999;
}

.song-actions {
  display: flex;
  gap: 10px;
}

.play-btn {
  padding: 8px 20px;
  background: #1890ff;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.play-btn:hover {
  background: #40a9ff;
}

/* 专辑列表区域 */
.albums-section {
  margin-bottom: 40px;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.album-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.album-cover {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.album-card:hover .album-cover img {
  transform: scale(1.05);
}

.album-info {
  padding: 15px;
}

.album-name {
  font-size: 16px;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.album-date {
  font-size: 14px;
  color: #999;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .artist-info-section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .artist-avatar-large {
    width: 150px;
    height: 150px;
  }
  
  .artist-name-large {
    font-size: 28px;
  }
  
  .artist-meta-info {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}

@media (max-width: 480px) {
  .artist-detail-page {
    padding: 10px;
  }
  
  .song-item {
    padding: 10px;
  }
  
  .song-rank {
    display: none;
  }
  
  .song-cover {
    width: 40px;
    height: 40px;
  }
  
  .play-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}